/**
 * Filename: YNMember.java
 *
 * @author Firefly
 * @contact postfirefly@163.com
 * @time 2016/3/8 12:11
 */
package com.github.postsanf.yinian.bean;

/**
 * 成员
 */
public class YNMember extends BaseBean {
    private String gmtime;                                        // 入组时间
    private YNUser user;                                        // 成员

    public String getGmtime() {
        return gmtime;
    }

    public void setGmtime(String gmtime) {
        this.gmtime = gmtime;
    }

    public YNUser getUser() {
        return user;
    }

    public void setUser(YNUser user) {
        this.user = user;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof YNMember) {
            return this.user == ((YNMember) o).user;
        }
        return super.equals(o);
    }
}